import urllib.request


def send_request_with_cookie(url, cookie_jar):
    cookie_processor = urllib.request.build_opener(urllib.request.HTTPCookieProcessor(cookie_jar))
    return cookie_processor.open(url).read()

